// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1
import "../Components"

AndroidItem {
    id: _root

    signal clicked(int key)

    Image{
        anchors.fill: parent
        source: "images/home_button.png"
        fillMode: Image.PreserveAspectCrop
        smooth: true
    }

    ImageButton{
        anchors.horizontalCenter: parent.horizontalCenter
        anchors.bottom: parent.bottom
        anchors.bottomMargin: 20 * viewScale
        width: 120 * viewScale
        height: 120 * viewScale
        imageIdle: "../android/images/launcher_button.png"
        imagePress: "../android/images/launcher_button_pressed.png"

        onClicked: {
            _root.clicked(1);
        }
    }
}
